import request from '../utils/request';

const getPage = params => request({
  url: '/v1/user/page',
  method: 'get',
  params
});

const getMenu = () => request({
  url: '/v1/user/me/menu',
  method: 'get'
});

export default {
  getPage,
  getMenu
}
